package com.ziqikeji.xianyan.entity.topic;

import com.ziqikeji.xianyan.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 话题 entity
 * @author liuyu
 */
@Entity
@Table(name = "topic")
public class Topic extends BaseEntity {

    /**
     * 话题名称
     */
    private String name;
    /**
     * 话题详情
     */
    private String content;
    /**
     * 动态（随笔）数量
     */
    private Double sharingNumber;
    /**
     * 关注人数
     */
    private Double followPeopleNumber;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Double getSharingNumber() {
        return sharingNumber;
    }

    public void setSharingNumber(Double sharingNumber) {
        this.sharingNumber = sharingNumber;
    }

    public Double getFollowPeopleNumber() {
        return followPeopleNumber;
    }

    public void setFollowPeopleNumber(Double followPeopleNumber) {
        this.followPeopleNumber = followPeopleNumber;
    }
}
